package com.example4.demo44;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class DemoApplication {

	public static void main(String[] args) {
		System.out.println("appmessage------1");
		SpringApplication.run(DemoApplication.class, args);
		System.out.println("appmessage------2");
		//初始化数据库，属性为id、timer和grow三个
	    //初始化监听前端按键事件处理,监听到事件后从数据库获取所有记录，并发送到前端显示
		//起socket服务
		SocketServer server = new SocketServer();
		server.startSocketServer(8088);
	}

}
